@import '../../styles/theme.scss';
@import "~taro-ui/dist/style/components/icon.scss";
@import "~taro-ui/dist/style/components/input.scss";

.tab_page {
  box-sizing: border-box;

  .switch_page0 {
    height: calc(100vh - 160px - 140px);
  }

  .switch_page1 {
    height: calc(100vh - 160px);
  }

  .switch_page {
    height: 100%;
    // -webkit-overflow-scrolling: touch;
  }

  .tab_wrapper {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    height: 80px;
    border-radius: 80px;
    z-index: 1;
    background: #fff;
    box-shadow: 5 rpx 2px 15 rpx rgba(255, 255, 255, 0.79);
    // overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    .tab_wrapper_box {
      width: 460px;
      position: relative;
      display: flex;
      align-items: center;
      // padding: 0 190px;
      box-sizing: border-box;
      height: 100%;
      justify-content: space-around;

      .tab_item {
        font-size: 30px;
        color: $primary-color;
        // flex: 1;
        display: flex;
        height: 80px;
        align-items: center;
        padding: 0 42px;
        transition: all .3s;

        .icon {
          font-size: 49px;
        }

        .tab_item_name {
          display: block;
          // width: 0;
          transition: all .3s;
          padding-left: 24px;
          letter-spacing: -50px;
          color: transparent;
          font-weight: 600;
        }
      }

      .tab_item_active {
        // background: $gray;
        background: #f4f4f4;
        border-radius: 80px;

        .tab_item_name {
          // text-shadow: 2px 1px 1px rgba(0, 0, 0, 0.5);
          letter-spacing: 1px;
          color: $primary-color;
        }
      }
    }

    // .tab_wrapper_box::before{
    //   content: '';
    //   position: absolute;
    //   top: -100%;
    //   left: 0;
    //   width: 100%;
    //   height: 100%;
    //   box-shadow: 0 -20px 30px 50px #fff;
    //   z-index: 1;
    // }

  }

}

// ::-webkit-scrollbar
// {
//     height: 0;
//     width: 0;
//     color:transparent;
// }
.jia-icon {
  font-size: 60px;
  color: $primary-color;
  transition: all .25s;
}

.jia-icon-ligher {
  color: $primary-color-dark;
}

.jia-icon-left0 {
  margin-left: 90px;
}

.jia-icon-left1 {
  margin-left: 10px;
}

.jia-icon-left2 {
  margin-left: 20px;
}

.tab-nav {
  display: flex;
  align-items: center;
  width: 440px;

  .tab-search {
    width: 350px;
    height: 64px;
    margin-left: 20px;
    // position: absolute;
    // transform: translateY(-50%);
    // top: 50%;
    left: 12px;

    .tab-search-wrapper {
      width: 100%;
      display: flex;
      font-size: 24px;
      height: 64px;
      line-height: 64px;
      padding: 0 16px;
      background-color: #F7F7F7;
      color: #999;
      border-radius: 32px;
      align-items: center;

      .at-icon {
        margin-right: 24px;
      }
    }
  }
}
